#define _CRT_SECURE_NO_WARNINGS 1		
#include"tree.h"
void preorder(treenode* root)
{
	printf("%c->", root->data);
	preorder(root->leftchild);
	preorder(root->rightchild);
}
void midorder(treenode* root)
{
	midorder(root->leftchild);
	printf("%c->", root->data);
	midorder(root->rightchild);
}
void reorder(treenode* root)
{
	redorder(root->leftchild);
	redorder(root->rightchild);
	printf("%c->", root->data);
}
void preorder2(treenode* root);
void midorder2(treenode* root);
void reorder2(treenode* root);